package cn.study.service.impl;

import cn.study.entity.StudyProblem;
import cn.study.mapper.StudyProblemMapper;
import cn.study.service.StudyProblemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 问题表 服务实现类
 * </p>
 *
 * @author qiao
 * @since 2020-06-22
 */
@Service
public class StudyProblemServiceImpl extends ServiceImpl<StudyProblemMapper, StudyProblem> implements StudyProblemService {

    @Resource
    StudyProblemMapper studyProblemMapper;

    @Override
    public List<StudyProblem> getlist() {
        return studyProblemMapper.getlist();
    }
}
